{% extends 'layouts/form_template_qn.html' %}

{% block form_card_body %}
    <div class="card-body p-3">
        <div class="d-flex flex-column h-100">
            <form role="form text-left" method="post"
                  action="{% block submit_url %}{% endblock submit_url %}">
                {{ formset.management_form }}
                {% csrf_token %}
                {% for question in question_list %}
                    {% block form_terms %}

                    {% endblock form_terms %}
                {% endfor %}

                <div class="text-center">
                    <button type="submit" name="create_project" class="btn bg-gradient-info w-100 mt-4 mb-0">
                        Submit
                    </button>
                </div>
            </form>
        </div>
    </div>
{% endblock %}
